//
//  YWAlertView.h
//  maintain
//
//  Created by 郑想 on 15/10/19.
//  Copyright © 2015年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YWAlertView : UIView

- (instancetype)initWithTitle:(NSString*)title
                  contentText:(NSString*)content
              leftButtonTitle:(NSString*)leftTitle
             rightButtonTitle:(NSString*)rigthTitle;

- (void)show;
//- (void)showWithNoAnimation;

@property (nonatomic, copy) dispatch_block_t leftBlock;
@property (nonatomic, copy) dispatch_block_t rightBlock;
@property (nonatomic, copy) dispatch_block_t dismissBlock;

@end
